<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/js/themes/default/easyui.css" />
		<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/js/themes/icon.css" />
		<link rel="stylesheet"
			href="${pageContext.request.contextPath}/css/ainit.css"
			type="text/css"></link>
		<link rel="stylesheet" type="text/css"
			href="${pageContext.request.contextPath}/sysPrint/printCss/print.css" />
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.easyui.min.1.2.2.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.json-2.4.min.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/jquery.ainit-1.0.0.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/model.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/perlize.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/save.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/model/js/initPage.js"></script>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/sysReport/report.js"></script>

		<script type="text/javascript">
	$(function() {
		$("#dotted :last ").remove()
	});
</script>
<script type="text/javascript">
        window.onload=function name(){
          window.print();
          window.close();
    }
     </script> 
	</head>
	<style type="text/css">
.tr1 td {
	border: solid 1px #000000;
}

.tr2 td {
	border-style: none;
}

.tr3 td {
	border-style: none;
	padding-left: 4px;
	height: 25px;
	table-layout: fixed;
}
</style>
	<body>
		<form action="">
			<table border="1" cellpadding="0" cellspacing="0" width="730px">
				<tr>
					<th colspan="6" class="b"
						style="font-size: 20px;">
						${Company.COM_FLLNAME}仓库调拨单
					</th>
				</tr>
				<tr>
					<td colspan="6">
						<hr width=730px align="right" style="border: 0px dotted;" />
					</td>
				</tr>
				<tr class='tr1'>
					<td width="100px"><strong >调出库房：</strong></td>
					<td width="140px">&nbsp;&nbsp;${data.DC_STOCK }</td>
					<td width="100px" ><strong>调入库房：</strong></td>
					<td width="140px">&nbsp;&nbsp;${data.DR_STOCK}</td>		
					<td width="100px" ><strong>单号：</strong></td>
					<td width="140px">&nbsp;&nbsp;${data.DB_CODE }</td>
				</tr>										
				<tr>
					<td colspan="6" >
						<strong>&nbsp;&nbsp;请仔细核对货物品种、数量、配书，如有货物与单据不符请及时与我公司联系。</strong>
					</td>
				</tr>				

				<tr class='tr2'>
					<td colspan="6">
						<hr width="730px"/>
					</td>
				</tr>
				<tr class='tr2'>
					<td align="left"><strong>书 号</strong></td>
					<td align="left"><strong>商品名称</strong></td>
					<td align="left"><strong>作者</strong></td>
					<td align="left"><strong>出版社</strong></td>
					<td ><strong>定 价</strong></td>					
					<td ><strong>数 量</strong></td>
				</tr>
				<tr class='tr2'>
					<td colspan="6">
						<hr width=730px align="left" />
					</td>
				</tr>
				<c:forEach items="${dataList}" var="temp">
					<tr class='tr2' style="text-align: center;">
						<td align="left">${temp.H_ISBN}</td>
						<td align="left">${temp.H_NAME}</td>
						<td >${temp.H_AUTHOR}</td>
						<td align="left">${temp.PUB_NAME}</td>
						<td align="left">${temp.H_PRICE}</td>						
						<td align="left">${temp.H_AMOUNT}</td>
					<tr class='tr2'>
						<td colspan="6">
							<hr width=730px align="left" style="border: 0px dotted;" />
						</td>
					</tr>
					</tr>
					</c:forEach>
					<tr class='tr3'>
						<td colspan="6">
							<hr width="730px" align="left" style="border: 0px dotted;" />
						</td>
					</tr>					
					<tr class='tr2'>
						<td width="90"><strong>制单人:</strong></td>
						<td>${data.INPUT_MAN}</td>
						<td width="90"><strong>审核人:</strong></td>
						<td>${data.INPUT_MAN}</td>
						<td width="90"><strong>出库人:</strong></td>
						<td >${data.STOCK_MAN}</td>
					</tr>
					<tr class='tr2'>
						<td colspan="6">
							<hr width=730px align="left" style="border: 0px dotted;" />
						</td>
					</tr>
					<tr class='tr2'>
						<td colspan="6" align="right">
							<span style="font-size: 11px; color: #9BA4AF">技术支持:</span>
							<span style="font-size: 12px; color: #9BA4AF">上海爱你特科技
								www.ainit.cn</span>
						</td>
					</tr>
			</table>
		</form>
	</body>
</html>